﻿@model WebApplication1.Models.Course
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Modify</title>
</head>
<body>
    <div>
        @using (Html.BeginForm())
        {
            <p>Title: @Html.TextBoxFor(x => x.Title)</p>
            <p>Credits:@Html.TextBoxFor(x => x.Credits)</p>
            <p>@Html.HiddenFor(x=>x.CourseID)</p>
            <p><input value="登录" type="submit" /></p>
        }
        @*<form method="post">
            <p>Title:<input type="text" name="Title" value="@Model.Title" /></p>
            <p>Credits:<input type="text" name="Credits" value="@Model.Credits" /></p>
            <p><input type="hidden" name="CourseID" value="@Model.CourseID" /></p>
            <input type="submit" value="修改" />
        </form>*@


    </div>
</body>
</html>
